﻿using System.Linq;
using Daemon.Common;
using Daemon.Common.Helpers;
using Daemon.Infrustructure.EF;
using Daemon.Repository.EF.Enums;
using Daemon.Repository.Contract;
using Daemon.Model;
using System;
using System.Linq.Expressions;
using System.Collections.Generic;

namespace Daemon.Repository.EF
{
    public class TakeAwayBoardTypeRepository : Repository<TakeAwayBoardType>, ITakeAwayBoardTypeRepository
    {
        protected override Expression<Func<TakeAwayBoardType, int>> PrimaryKeyExpression => r => r.Id;

        public TakeAwayBoardTypeRepository(ApiDBContent context) : base(context)
        {
        }

		protected override IEnumerable<TakeAwayBoardType> IncludeRelationships(IEnumerable<TakeAwayBoardType> entities, ApiDBContent db)
		{
            return entities;
		}
	}
}
